GET api/v1/{practiceId}/infrastructure/communicationtemplates/templatesforpracticebytypes?templateTypes[0]={templateTypes[0]}&templateTypes[1]={templateTypes[1]}
Get template list available for all providers in practice by template types
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
practiceId | globally unique identifier |
Required |
|
templateTypes | Collection of string |
Required |
Body Parameters
None.
Response Information
Resource Description
Array of templates
Collection of Com.Healthbridge.Core.CommonDomain.Interface.ValueObjects.CommunicationTemplateVoName | Description | Type | Additional information |
---|---|---|---|
PracticeId | globally unique identifier |
None. |
|
TemplateId | globally unique identifier |
None. |
|
TemplateName | string |
None. |
|
TemplateType | string |
None. |
|
TemplateMediaType | string |
None. |
|
TemplateIdentifier | string |
None. |
|
TemplateBody | string |
None. |
|
Locale | string |
None. |
|
LastUpdated | date |
None. |
|
LastUpdatedBy | string |
None. |
Response Formats
application/json, text/json
Sample:
[ { "PracticeId": "dd2db256-bd2b-4b10-a2d4-63f2cc963127", "TemplateId": "377e1cc7-1fea-4771-b686-b14aa5a1900a", "TemplateName": "sample string 3", "TemplateType": "sample string 4", "TemplateMediaType": "sample string 5", "TemplateIdentifier": "sample string 6", "TemplateBody": "sample string 7", "Locale": "sample string 8", "LastUpdated": "2025-08-09T11:44:22Z", "LastUpdatedBy": "sample string 10" }, { "PracticeId": "dd2db256-bd2b-4b10-a2d4-63f2cc963127", "TemplateId": "377e1cc7-1fea-4771-b686-b14aa5a1900a", "TemplateName": "sample string 3", "TemplateType": "sample string 4", "TemplateMediaType": "sample string 5", "TemplateIdentifier": "sample string 6", "TemplateBody": "sample string 7", "Locale": "sample string 8", "LastUpdated": "2025-08-09T11:44:22Z", "LastUpdatedBy": "sample string 10" } ]
application/xml, text/xml
Sample:
<ArrayOfCommunicationTemplate xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://mpsapi.healthbridge.com/platform/commondomain/v1/communicationtemplate/"> <CommunicationTemplate> <LastUpdated>2025-08-09T11:44:22.485544+02:00</LastUpdated> <LastUpdatedBy>sample string 10</LastUpdatedBy> <Locale>sample string 8</Locale> <PracticeId>dd2db256-bd2b-4b10-a2d4-63f2cc963127</PracticeId> <TemplateBody>sample string 7</TemplateBody> <TemplateId>377e1cc7-1fea-4771-b686-b14aa5a1900a</TemplateId> <TemplateIdentifier>sample string 6</TemplateIdentifier> <TemplateMediaType>sample string 5</TemplateMediaType> <TemplateName>sample string 3</TemplateName> <TemplateType>sample string 4</TemplateType> </CommunicationTemplate> <CommunicationTemplate> <LastUpdated>2025-08-09T11:44:22.485544+02:00</LastUpdated> <LastUpdatedBy>sample string 10</LastUpdatedBy> <Locale>sample string 8</Locale> <PracticeId>dd2db256-bd2b-4b10-a2d4-63f2cc963127</PracticeId> <TemplateBody>sample string 7</TemplateBody> <TemplateId>377e1cc7-1fea-4771-b686-b14aa5a1900a</TemplateId> <TemplateIdentifier>sample string 6</TemplateIdentifier> <TemplateMediaType>sample string 5</TemplateMediaType> <TemplateName>sample string 3</TemplateName> <TemplateType>sample string 4</TemplateType> </CommunicationTemplate> </ArrayOfCommunicationTemplate>